function [code] = expand(origin, fs)
    code = zeros(1, length(origin) * fs);
    code(fs:fs:end) = origin;
end